<%@ Control Language="C#" AutoEventWireup="true" CodeFile="usrRelationship.ascx.cs" Inherits="controls_usrRelationship" %>
<asp:DropDownList ID="ddlRelation" runat="server" ToolTip="Choose Relationship">
    <asp:ListItem Value="-1">Select</asp:ListItem>
    <asp:ListItem>Spouse</asp:ListItem>
    <asp:ListItem>Son/Daughter</asp:ListItem>
    <asp:ListItem>Brother/Sister</asp:ListItem>
    <asp:ListItem>Mother/Father</asp:ListItem>
    <asp:ListItem>Extended Relative</asp:ListItem>
    <asp:ListItem>Friend</asp:ListItem>
    <asp:ListItem>Other</asp:ListItem>
</asp:DropDownList>
<asp:RequiredFieldValidator ID="rfvRelationship" runat="server" 
    ControlToValidate="ddlRelation" ErrorMessage="" validationErrorCssClass="validationError" 
    InitialValue="-1"></asp:RequiredFieldValidator>


<script type="text/javascript">
<!--
//function ClientValidate(source, arguments)
//   {
//        if (arguments.Value == -1 ){
//            arguments.IsValid = false;
//        } else {
//            arguments.IsValid = true;
//        }
//   }
    //-->
</script>
